{load header}
<!--/H-->

    <!-- 内容区 -->
    <div id="main-content">
        <div id="top-alert" class="fixed alert alert-error" style="display: none;">
            <button class="close fixed" style="margin-top: 4px;">&times;</button>
            <div class="alert-content">这是内容</div>
        </div>
        <div id="main" class="main">
        <!-- nav --><!-- nav -->
            
	<div class="main-title cf">
		<h2>新增理财平台</h2>
	</div>
	<div class="tab-wrap">
		<ul class="tab-nav nav">
			<li data-tab="tab1" class="current"><a href="javascript:void(0);">基本信息</a></li>
			<li data-tab="tab2" ><a href="javascript:void(0);">平台logo</a></li>
			<li data-tab="tab3" ><a href="javascript:void(0);">平台描述</a></li>
			<li data-tab="tab4" ><a href="javascript:void(0);">体验要求</a></li>
			<li data-tab="tab5" ><a href="javascript:void(0);">体验攻略</a></li>
			<li data-tab="tab6" ><a href="javascript:void(0);">平台接口</a></li>
			<li data-tab="tab7" ><a href="javascript:void(0);">体验规则</a></li>
                        <li data-tab="tab8" ><a href="javascript:void(0);">附加信息</a></li>
		</ul>
		<div class="tab-content">
	<form action="" method="post" class="form-horizontal">
			<div id="tab1" class="tab-pane in tab1">
				<div class="form-item cf">
					<label class="item-label">平台类型<span class="check-tips">（分为AB、AC）</span></label>
					<div class="controls">
                                                <select name="plat_type">
							<option value="1" {if $item['plat_type'] == 1}selected{/if}>理财平台AB</option>
							<option value="2" {if $item['plat_type'] == 2}selected{/if}>理财平台AC</option>
						</select>
					</div>
					
				</div>
                            <input type="hidden" name='plat_id' value="{$item['platID']}">
				<div class="form-item cf">
					<label class="item-label">平台中文名称<span class="check-tips">（用于前台显示）</span></label>
					<div class="controls name_name">
                                            <input type="text" id="name_ch" class="text input-large" name="name_ch" value="{$item['name_ch']}">
					</div>
				</div>
				<div class="form-item cf">
					<label class="item-label">平台英文名称<span class="check-tips">（用于识别,如：www.tan66.com，那么这里天tan66）</span></label>
					<div class="controls">
                                            <input type="text" id="name_en" class="text input-large" name="name_en" value="{$item['name_en']}">
					</div>
				</div>
                            <div class="form-item cf">
					<label class="item-label">平台合作期数<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-small" name="plat_period" value="{$item['plat_period']}">
					</div>
				</div>
                            <div class="form-item cf">
					<label class="item-label">体验类型<span class="check-tips">（注册、注册+首投、首投）</span></label>
					<div class="controls">
                                            <input type="text" class="text input-small" name="exper_type" value="{$item['exper_type']}">
					</div>
				</div>
				<div class="form-item cf">
					<label class="item-label">平台密钥<span class="check-tips">（弹溜溜与平台唯一的识别标志）</span></label>
					<div class="controls acount_acount">
                                            <input type="text" readonly class="text input-small" id="access_key" style="width:150px;" name="access_key" value="{$item['access_key']}" readonly/>
						<p class="btn create_key">生成密钥</p>
					</div>
				</div>
                            <script type="text/javascript">
                                $(function(){
                                    $(".create_key").click(function(){
                                        var _Name_ch = $.trim($("#name_ch").val());
                                        var _Name_en = $.trim($("#name_en").val());
                                        if(_Name_ch == "" || _Name_en == ""){alert("平台中文名或平台英文名不能为空");return;}
                                        $.ajax({
                                            url:"{eval echo site_url('platforms/create_key')}",
                                            async: false,
                                            dataType:"json",
                                            type:"post",
                                            data: {name_ch:_Name_ch,name_en:_Name_en},
                                            success:function(data){
                                                $("#access_key").val(data.key);
                                            }
                                        });
                                    });
                                });
                            </script>
                            <div class="form-item cf">
					<label class="item-label">CPS系数<span class="check-tips"></span></label>
					<div class="controls">
						<input type="text"  class="text input-small" name="scale" value="{$item['scale']}">
					</div>
				</div>
                             <div class="form-item cf">
					<label class="item-label">平台利息<span class="check-tips"></span></label>
					<div class="controls">
						<input type="text"  class="text input-small" name="plat_interest" value="{$item['plat_interest']}">
					</div>
				</div>
                             <div class="form-item cf">
					<label class="item-label">弹溜溜加息<span class="check-tips"></span></label>
					<div class="controls">
						<input type="text"  class="text input-small" name="add_interest" value="{$item['add_interest']}">
					</div>
				</div>
                                <div class="form-item cf">
					<label class="item-label">预付金额<span class="check-tips">（平台预留金额或保证金额）</span></label>
					<div class="controls">
						<input type="text"  class="text input-large" name="pay_amount" value="{$item['pay_amount']}">
					</div>
				</div>
				<div class="form-item cf">
					<label class="item-label">平台网址<span class="check-tips">（如：www.tan66.com）</span></label>
					<div class="controls">
						<input type="text" class="text input-large" name="website" value="{$item['website']}">
					</div>
				</div>
				
				<div class="form-item cf">
					<label class="item-label">最大体验奖励<span class="check-tips"></span></label>
					<div class="controls">
						<input type="text" class="text input-small" name="max_award" value="{$item['max_award']}">&nbsp;溜溜币
					</div>
				</div>
				
				<div class="form-item cf">
					<label class="item-label">活动标签<span class="check-tips">（平台奖励相关活动）</span></label>
					<div class="controls">
						<input type="text"  class="text input-large" name="activity_tips" value="{$item['activity_tips']}">
					</div>
				</div>
                            
                                <div class="form-item cf">
					<label class="item-label">体验时间<span class="check-tips">（如：2015年12月1日~12月31日）</span></label>
					<div class="controls">
						<input type="text"  class="text input-large" name="exper_time" value="{$item['exper_time']}">
					</div>
				</div>
				<div class="form-item cf">
					<label class="item-label">更新周期<span class="check-tips">（奖励发放周期）</span></label>
					<div class="controls">
						<input type="text"  class="text input-small" name="update_time" value="{$item['update_time']}">
					</div>
				</div>
				<div class="form-item cf">
					<label class="item-label">领取方式<span class="check-tips">（手动领取）</span></label>
					<div class="controls">
						<input type="text"  class="text input-small" name="receive_type" value="{$item['receive_type']}">
					</div>
				</div>
                            <div class="form-item">
                                <label class="item-label">是否体验第一步有注册奖励</label>
                                <div class="controls">
                                    <label class="radio"><input {if $item['is_has_cpa']} checked {/if} type="radio" name="is_has_cpa" value="1" />是</label>
                                    <label class="radio"><input {if !$item['is_has_cpa']} checked {/if} type="radio" name="is_has_cpa" value="0" />否</label>
                                </div>
                            </div>
<!--                            <div class="form-item">
                                <label class="item-label">是否首页显示</label>
                                <div class="controls">
                                    <label class="radio"><input {if $item['is_index']} checked {/if} type="radio" name="is_index" value="1" />是</label>
                                    <label class="radio"><input {if !$item['is_index']} checked {/if} type="radio" name="is_index" value="0" />否</label>
                                </div>
                            </div>
                             <div class="form-item">
                                <label class="item-label">是否上线</label>
                                <div class="controls">
                                    <label class="radio"><input {if $item['is_show']} checked {/if} type="radio" name="is_show" value="1" />上线</label>
                                    <label class="radio"><input {if !$item['is_show']} checked {/if} type="radio" name="is_show" value="0" />下线</label>
                                </div>
                            </div>
                            <div class="form-item">
                                <label class="item-label">是否显示</label>
                                <div class="controls">
                                    <label class="radio"><input {if $item['is_hide']} checked {/if} type="radio" name="is_hide" value="1" />显示</label>
                                    <label class="radio"><input {if !$item['is_hide']} checked {/if} type="radio" name="is_hide" value="0" />隐藏</label>
                                </div>
                            </div>-->
                            <div class="form-item">
                                <label class="item-label">排序</label>
                                <div class="controls">
                                    <input type="text"  class="text input-small" name="sort" value="{$item['sort']}">
                                </div>
                            </div>
                        </div>
		<div id="tab2" class="tab-pane tab2">
				
				<div class="form-item">
					<label class="item-label">前台首页位置logo<span class="check-tips">（87*87，在首页或列表页显示）</span></label>
					<div class="controls">
						<input type="file" id="upload_picture_cover_id">
						<input type="hidden" name="logo_index" id="cover_id_cover_id" value="{$item['logo_index']}"/>
						<div class="upload-img-box"><!--{if ($item['logo_index']!='')}--><div class="upload-pre-item"><img src="{$item['logo_index']}"/></div><!--{/if}--></div>
					</div>
					<script type="text/javascript" src="{eval echo base_url()}static/uploadify/jquery.uploadify.min.js"></script>
					<script type="text/javascript">
					//上传图片
					/* 初始化上传插件 */
					$("#upload_picture_cover_id").uploadify({
						"height"          : 30,
						"swf"             : "{eval echo base_url()}static/uploadify/uploadify.swf",
						"fileObjName"     : "picture",
						"buttonText"      : "上传图片",
						"uploader"        : "http://static.tan66.com/upload/picture.html",
						//'formData' : {"action": "upload", "sid" : ""},
						"width"           : 120,
						'removeTimeout'	  : 1,
						'fileTypeExts'	  : '*.jpg; *.png; *.gif;',
						"onUploadSuccess" : uploadPicturecover_id,
						'onFallback' : function() {
							alert('未检测到兼容版本的Flash.');
						}
					});
					function uploadPicturecover_id(file, data){
						var data = $.parseJSON(data);
						var src = '';
						if(data.status){
							$("#cover_id_cover_id").val(data.id);
							src = data.url || '' + data.path
							$("#cover_id_cover_id").parent().find('.upload-img-box').html(
								'<div class="upload-pre-item"><img src="' + src + '"/></div>'
							);
							
						} else {
							updateAlert(data.info);
							setTimeout(function(){
								$('#top-alert').find('button').click();
								//$(that).removeClass('disabled').prop('disabled',false);
							},1500);
						}
					}
					</script>
				</div>
				<div class="form-item">
					<label class="item-label">前台列表页位置logo<span class="check-tips">（106*106，列表页显示）</span></label>
					<div class="controls">
						<input type="file" id="upload_picture_cover_id_05">
						<input type="hidden" name="logo_list" id="cover_id_cover_id_05" value="{$item['logo_list']}"/>
						<div class="upload-img-box"><!--{if ($item['logo_list']!='')}--><div class="upload-pre-item"><img src="{$item['logo_list']}"/></div><!--{/if}--></div>
					</div>
					
					<script type="text/javascript">
					//上传图片
					/* 初始化上传插件 */
					$("#upload_picture_cover_id_05").uploadify({
						"height"          : 30,
						"swf"             : "{eval echo base_url()}static/uploadify/uploadify.swf",
						"fileObjName"     : "picture",
						"buttonText"      : "上传图片",
						"uploader"        : "http://static.tan66.com/upload/picture.html",
						//'formData' : {"action": "upload", "sid" : ""},
						"width"           : 120,
						'removeTimeout'	  : 1,
						'fileTypeExts'	  : '*.jpg; *.png; *.gif;',
						"onUploadSuccess" : uploadPicturecover_id_05,
						'onFallback' : function() {
							alert('未检测到兼容版本的Flash.');
						}
					});
					function uploadPicturecover_id_05(file, data){
						var data = $.parseJSON(data);
						var src = '';
						if(data.status){
							$("#cover_id_cover_id_05").val(data.id);
							src = data.url || '' + data.path
							$("#cover_id_cover_id_05").parent().find('.upload-img-box').html(
								'<div class="upload-pre-item"><img src="' + src + '"/></div>'
							);
							
						} else {
							updateAlert(data.info);
							setTimeout(function(){
								$('#top-alert').find('button').click();
								//$(that).removeClass('disabled').prop('disabled',false);
							},1500);
						}
					}
					</script>
				</div>
				<div class="form-item">
					<label class="item-label">前台详情页logo<span class="check-tips">（260*76，详情页显示）</span></label>
					<div class="controls">
						<input type="file" id="upload_picture_cover_id_02">
						<input type="hidden" name="logo_detail" id="cover_id_cover_id_02" value="{$item['logo_detail']}"/>
						<div class="upload-img-box"><!--{if ($item['logo_detail']!='')}--><div class="upload-pre-item"><img src="{$item['logo_detail']}"/></div><!--{/if}--></div>
					</div>
					
					<script type="text/javascript">
					//上传图片
					/* 初始化上传插件 */
					$("#upload_picture_cover_id_02").uploadify({
						"height"          : 30,
						"swf"             : "{eval echo base_url()}static/uploadify/uploadify.swf",
						"fileObjName"     : "picture",
						"buttonText"      : "上传图片",
						"uploader"        : "http://static.tan66.com/upload/picture.html",
						//'formData' : {"action": "upload", "sid" : ""},
						"width"           : 120,
						'removeTimeout'	  : 1,
						'fileTypeExts'	  : '*.jpg; *.png; *.gif;',
						"onUploadSuccess" : uploadPicturecover_id_02,
						'onFallback' : function() {
							alert('未检测到兼容版本的Flash.');
						}
					});
					function uploadPicturecover_id_02(file, data){
						var data = $.parseJSON(data);
						var src = '';
						if(data.status){
							$("#cover_id_cover_id_02").val(data.id);
							src = data.url || '' + data.path
							$("#cover_id_cover_id_02").parent().find('.upload-img-box').html(
								'<div class="upload-pre-item"><img src="' + src + '"/></div>'
							);
							
						} else {
							updateAlert(data.info);
							setTimeout(function(){
								$('#top-alert').find('button').click();
								//$(that).removeClass('disabled').prop('disabled',false);
							},1500);
						}
					}
					</script>
				</div>
                                <div class="form-item">
					<label class="item-label">首页banner图<span class="check-tips">（首页显示）</span></label>
					<div class="controls">
						<input type="file" id="upload_picture_cover_id_04">
						<input type="hidden" name="banner_img_index" id="cover_id_cover_id_04" value="{$item['banner_img_index']}"/>
						<div class="upload-img-box"><!--{if ($item['banner_img_index']!='')}--><div class="upload-pre-item"><img src="{$item['banner_img_index']}"/></div><!--{/if}--></div>
					</div>
					
					<script type="text/javascript">
					//上传图片
					/* 初始化上传插件 */
					$("#upload_picture_cover_id_04").uploadify({
						"height"          : 30,
						"swf"             : "{eval echo base_url()}static/uploadify/uploadify.swf",
						"fileObjName"     : "picture",
						"buttonText"      : "上传图片",
						"uploader"        : "http://static.tan66.com/upload/picture.html",
						//'formData' : {"action": "upload", "sid" : ""},
						"width"           : 120,
						'removeTimeout'	  : 1,
						'fileTypeExts'	  : '*.jpg; *.png; *.gif;',
						"onUploadSuccess" : uploadPicturecover_id_04,
						'onFallback' : function() {
							alert('未检测到兼容版本的Flash.');
						}
					});
					function uploadPicturecover_id_04(file, data){
						var data = $.parseJSON(data);
						var src = '';
						if(data.status){
							$("#cover_id_cover_id_04").val(data.id);
							src = data.url || '' + data.path
							$("#cover_id_cover_id_04").parent().find('.upload-img-box').html(
								'<div class="upload-pre-item"><img src="' + src + '"/></div>'
							);
							
						} else {
							updateAlert(data.info);
							setTimeout(function(){
								$('#top-alert').find('button').click();
								//$(that).removeClass('disabled').prop('disabled',false);
							},1500);
						}
					}
					</script>
				</div>
                                <div class="form-item">
					<label class="item-label">详情页banner图<span class="check-tips">（详情页显示）</span></label>
					<div class="controls">
						<input type="file" id="upload_picture_cover_id_03">
						<input type="hidden" name="banner_img" id="cover_id_cover_id_03" value="{$item['banner_img']}"/>
						<div class="upload-img-box"><!--{if ($item['banner_img']!='')}--><div class="upload-pre-item"><img src="{$item['banner_img']}"/></div><!--{/if}--></div>
					</div>
					
					<script type="text/javascript">
					//上传图片
					/* 初始化上传插件 */
					$("#upload_picture_cover_id_03").uploadify({
						"height"          : 30,
						"swf"             : "{eval echo base_url()}static/uploadify/uploadify.swf",
						"fileObjName"     : "picture",
						"buttonText"      : "上传图片",
						"uploader"        : "http://static.tan66.com/upload/picture.html",
						//'formData' : {"action": "upload", "sid" : ""},
						"width"           : 120,
						'removeTimeout'	  : 1,
						'fileTypeExts'	  : '*.jpg; *.png; *.gif;',
						"onUploadSuccess" : uploadPicturecover_id_03,
						'onFallback' : function() {
							alert('未检测到兼容版本的Flash.');
						}
					});
					function uploadPicturecover_id_03(file, data){
						var data = $.parseJSON(data);
						var src = '';
						if(data.status){
							$("#cover_id_cover_id_03").val(data.id);
							src = data.url || '' + data.path
							$("#cover_id_cover_id_03").parent().find('.upload-img-box').html(
								'<div class="upload-pre-item"><img src="' + src + '"/></div>'
							);
							
						} else {
							updateAlert(data.info);
							setTimeout(function(){
								$('#top-alert').find('button').click();
								//$(that).removeClass('disabled').prop('disabled',false);
							},1500);
						}
					}
					</script>
				</div>
                    
                            <div class="form-item cf">
					<label class="item-label">banner图链接<span class="check-tips"></span></label>
					<div class="controls">
						<input type="text"  class="text input-large" name="banner_link" value="{$item['banner_link']}">
					</div>
				</div>
		
		</div>
		
		
		<div id="tab3" class="tab-pane tab3">
                            <div class="form-item cf">
					<label class="item-label">总推广人数<span class="check-tips">（前台显示）</span></label>
					<div class="controls">
                                            <input type="text" class="text input-small" name="total_person" value="{$item['total_person']}">（人）
					</div>
                            </div>
                            <div class="form-item cf">
					<label class="item-label">总推广金额<span class="check-tips">（前台显示）</span></label>
					<div class="controls">
						<input type="text" class="text input-small" name="total_amount" value="{$item['total_amount']}">（元）
					</div>
                            </div>
                            <div class="form-item cf">
                                    <label class="item-label">平台描述<span class="check-tips">（平台简介）</span></label>
                                    <div class="controls">
                                            <label class="textarea input-large">
                                            <textarea name="description">{$item['description']}</textarea>
                                            </label>
                                    </div>
                            </div>
		
		</div>
		<div id="tab4" class="tab-pane tab4">
			<div class="form-item">
				<label class="item-label">体验要求<span class="check-tips"></span></label>
				<div class="controls">
					<label class="textarea">
						<textarea name="require">{$item['require']}</textarea>
						<link rel="stylesheet" href="{eval echo base_url()}static/kindeditor/default/default.css" />
						<script charset="utf-8" src="{eval echo base_url()}static/kindeditor/kindeditor-min.js"></script>
						<script charset="utf-8" src="{eval echo base_url()}static/kindeditor/zh_CN.js"></script>
						<script type="text/javascript">
							var editor1;
							KindEditor.ready(function(K) {
								editor1 = K.create('textarea[name="require"]', {
									allowFileManager : false,
									themesPath: K.basePath,
									width: '100%',
									height: '350px',
									resizeType: 1,
									pasteType : 2,
									urlType : 'absolute',
									//fileManagerJson : '/index.php?s=/admin/article/filemanagerjson.html',
									//uploadJson : '/index.php?s=/admin/article/uploadjson.html' }
									//uploadJson : '/index.php?s=/admin/addons/execute/_addons/editor_for_admin/_controller/upload/_action/ke_upimg.html'
								});
							});

							$(function(){
								//传统表单提交同步
								$('textarea[name="require"]').closest('form').submit(function(){
									editor1.sync();
								});
								//ajax提交之前同步
								$('button[type="submit"],#submit,.ajax-post').click(function(){
									editor1.sync();
								});
							})
						</script>
					</label>
				</div>
			</div>
		</div>
		<div id="tab5" class="tab-pane tab5">
			<div class="form-item">
				<label class="item-label">体验攻略<span class="check-tips"></span></label>
				<div class="controls">
					<label class="textarea">
						<textarea name="raiders">{$item['raiders']}</textarea>
						<script type="text/javascript">
							var editor;
							KindEditor.ready(function(K) {
								editor = K.create('textarea[name="raiders"]', {
									allowFileManager : false,
									themesPath: K.basePath,
									width: '100%',
									height: '350px',
									resizeType: 1,
									pasteType : 2,
									urlType : 'absolute',
									//fileManagerJson : '/index.php?s=/admin/article/filemanagerjson.html',
									//uploadJson : '/index.php?s=/admin/article/uploadjson.html' }
									//uploadJson : '/index.php?s=/admin/addons/execute/_addons/editor_for_admin/_controller/upload/_action/ke_upimg.html'
								});
							});

							$(function(){
								//传统表单提交同步
								$('textarea[name="raiders"]').closest('form').submit(function(){
									editor.sync();
								});
								//ajax提交之前同步
								$('button[type="submit"],#submit,.ajax-post').click(function(){
									editor.sync();
								});
							})
						</script>
					</label>
				</div>
			</div>
		</div>

		<div id="tab6" class="tab-pane tab6">
        
                                <div class="form-item cf" style="border:1px solid #999999;width:430px;padding: 5px 5px;">
					<label class="item-label">一键注册接口<span class="check-tips">（格式:http://）</span></label>
					<div class="controls">
						<input type="text" class="text input-large" name="reg_link" value="{$item['reg_link']}">
					</div>
                                        
                                        <label class="item-label">是否一键注册</label>
                                        <div class="controls">
                                            <label class="radio"><input {if $item['is_fast_reg']} checked {/if} type="radio" name="is_fast_reg" value="1" />是</label>
                                            <label class="radio"><input {if !$item['is_fast_reg']} checked {/if} type="radio" name="is_fast_reg" value="0" />否</label>
                                        </div>
                                        
				</div>
				<div class="form-item cf" style="border:1px solid #999999;width:430px;padding: 5px 5px;">
					<label class="item-label">一键登录接口<span class="check-tips">（格式:http://）</span></label>
					<div class="controls">
						<input type="text" class="text input-large" name="login_link" value="{$item['login_link']}">
					</div>
                                        <label class="item-label">是否一键登录</label>
                                        <div class="controls">
                                            <label class="radio"><input {if $item['is_fast_login']} checked {/if} type="radio" name="is_fast_login" value="1" />是</label>
                                            <label class="radio"><input {if !$item['is_fast_login']} checked {/if} type="radio" name="is_fast_login" value="0" />否</label>
                                        </div>
				</div>
                                <div class="form-item cf" style="border:1px solid #999999;width:430px;padding: 5px 5px;">
					<label class="item-label">查询接口<span class="check-tips">（格式:http://）</span></label>
					<div class="controls">
						<input type="text" class="text input-large" name="query_link" value="{$item['query_link']}">
					</div>
                                        <label class="item-label">是否一键查询</label>
                                        <div class="controls">
                                            <label class="radio"><input {if $item['is_fast_query']} checked {/if} type="radio" name="is_fast_query" value="1" />是</label>
                                            <label class="radio"><input {if !$item['is_fast_query']} checked {/if} type="radio" name="is_fast_query" value="0" />否</label>
                                        </div>
				</div>
                                
                    
                </div>
		<div id="tab7" class="tab-pane tab7">
                    <div class="form-item cf">
                        <label class="item-label">体验规则<span class="check-tips"></span></label>
                        <div class="controls">
                                <textarea name="rules" style="width:500px;height:200px;">{$item['rules']}</textarea>
                        </div>
                    </div>
		</div>
                <div id="tab8" class="tab-pane tab8">
                                <div class="form-item cf">
					<label class="item-label">企业背景<span class="check-tips"></span></label>
					<div class="controls">
                                                <select name="company_bg_type">
                                                        {loop $bgtype $val}
							<option value="{$val['index']}" {if $baseinfo['company_bg_type'] == $val['index']}selected{/if}>{$val['title']}</option>
                                                        {/loop}{$key}
						</select>
					</div>
					
				</div>
				<div class="form-item cf">
					<label class="item-label">公司名称<span class="check-tips">（用于前台显示）</span></label>
					<div class="controls name_name">
                                            <input type="text"  class="text input-large" name="company" value="{$baseinfo['company']}">
					</div>
				</div>
                                
				<div class="form-item cf">
					<label class="item-label">注册资本<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="reg_capital" value="{$baseinfo['reg_capital']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">ICP备案号<span class="check-tips">（</span></label>
					<div class="controls">
                                            <input type="text"  class="text input-large" name="ICP" value="{$baseinfo['ICP']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">成立时间<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text"  class="text input-large" name="setup_time" value="{$baseinfo['setup_time']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">资金托管<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="managed_funds" value="{$baseinfo['managed_funds']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">备案域名<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text"  class="text input-large" name="domain_name" value="{$baseinfo['domain_name']}">
					</div>
				</div>
                            <div class="form-item cf">
					<label class="item-label">备案时间<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="domain_time" value="{$baseinfo['domain_time']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">业务类型<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="business_type" value="{$baseinfo['business_type']}">
					</div>
				</div>
            <div class="form-item cf">
					<label class="item-label">公司类型<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="company_type" value="{$baseinfo['company_type']}">
					</div>
				</div>
            <div class="form-item cf">
					<label class="item-label">融资信息<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="finance_info" value="{$baseinfo['finance_info']}">
					</div>
				</div>
                    <div class="form-item cf">
					<label class="item-label">注册地址<span class="check-tips"></span></label>
					<div class="controls">
                                            <input type="text" class="text input-large" name="reg_address" value="{$baseinfo['reg_address']}">
					</div>
				</div>
                                
                    
                </div>
		<div class="form-item cf">
			<button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
			<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		</div>
	</form>
	</div>
</div>
<link href="{eval echo base_url()}static/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<link href="{eval echo base_url()}static/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{eval echo base_url()}static/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="{eval echo base_url()}static/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
	$(function(){
	    $('#sign_date').datetimepicker({
	        format: 'yyyy-mm-dd',
	        language:"zh-CN",
		    minView:2,
		    autoclose:true
	    });

	    $('#datetimepicker').datetimepicker({
	       format: 'yyyy-mm-dd',
	        language:"zh-CN",
	        minView:2,
	        autoclose:true,
	        pickerPosition:'bottom-left'
	    })
	   $(".borrow_child").click(function(){
		   var name_num=0; 
		   name_num=$(".name_name").find("input").length;
		   name_num=name_num+1;
		   $(".name_name").append("<br/><input type='text' class='text input-large' name='name"+name_num+"' value=''>");
		   $(".acount_acount").append("<br/><input type=\"text\" onkeyup=\"this.value=this.value.replace(/[^0-9.}]/g,'')\" onafterpaste=\"this.value=this.value.replace(/[^0-9.}]/g,'')\" class=\"text input-middle\" name=\"account"+name_num+"\" value=\"\">元");
	   });
	   $("select[name='borrow_style'] >option").click(function(){
			var type=$(this).attr("value");
			if(type=="endday"){
				$("#borrow_period_time").html("天");
			}else{
				$("#borrow_period_time").html("个月");
			}
	   });
	    
	})
</script>
<!--F-->{load footer}
<script type="text/javascript">
showTab();
</script>